﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.DTOS.StatusMonitor
{
    public class UnitCylinderModel
    {
        /// <summary>
        /// 设备Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 多语言展示名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 排气温度时间戳
        /// </summary>
        public DateTime? ExhaustTempTs { get; set; }

        /// <summary>
        /// 排气温度Td原始值
        /// </summary>
        public float? ExhaustTempOrg { get; set; }

        /// <summary>
        /// 排气温度Td原始值
        /// </summary>
        public string ExhaustTemp => ExhaustTempOrg?.ToString();

        /// <summary>
        /// 排气温度是否报警
        /// </summary>
        public bool ExhaustTempFlag { get; set; }

        /// <summary>
        /// 冷却水出口温度时间戳
        /// </summary>
        public DateTime? CoolantOutTempTs { get; set; }

        /// <summary>
        /// 冷却水出口温度Td原始值
        /// </summary>
        public float? CoolantOutTempOrg { get; set; }

        /// <summary>
        /// 冷却水出口温度
        /// </summary>
        public string CoolantOutTemp => CoolantOutTempOrg?.ToString();

        /// <summary>
        /// 冷却水出口温度是否报警
        /// </summary>
        public bool CoolantOutTempFlag { get; set; }

        /// <summary>
        /// 活塞冷却油出口温度时间戳
        /// </summary>
        public DateTime? PistonCoolOilOutTempTs { get; set; }

        /// <summary>
        /// 活塞冷却油出口温度Td原始值
        /// </summary>
        public float? PistonCoolOilOutTempOrg { get; set; }

        /// <summary>
        /// 活塞冷却油出口温度
        /// </summary>
        public string PistonCoolOilOutTemp => PistonCoolOilOutTempOrg?.ToString();

        /// <summary>
        /// 活塞冷却油出口温度是否报警
        /// </summary>
        public bool PistonCoolOilOutTempFlag { get; set; }

        /// <summary>
        /// 压缩压力时间戳
        /// </summary>
        public DateTime? CompressPresTs { get; set; }

        /// <summary>
        /// 压缩压力Td原始值
        /// </summary>
        public float? CompressPresOrg { get; set; }

        /// <summary>
        /// 压缩压力
        /// </summary>
        public string CompressPres { get; set; }

        /// <summary>
        /// 压缩压力是否报警
        /// </summary>
        public bool CompressPresFlag { get; set; }

        /// <summary>
        /// 爆压时间戳
        /// </summary>
        public DateTime? BurstPresTs { get; set; }

        /// <summary>
        /// 爆压Td原始值
        /// </summary>
        public float? BurstPresOrg { get; set; }

        /// <summary>
        /// 爆压
        /// </summary>
        public string BurstPres { get; set; }

        /// <summary>
        /// 爆压是否报警
        /// </summary>
        public bool BurstPresFlag { get; set; }

    }
}
